<% data = resData.detail %>
<% total = resData.total %>
<% company = data.company %>
<input type="hidden" class="companyID" value="<%= data.companyId %>">
<div class="post-page post-company">
    <div class="bg">
        <div class="content">
            <div class="layui-row">
                <div class="layui-col-md2">
                    <%- company.logoUrl
                            ? '<img src="'+ company.logoUrl +'" alt="">'
                            : '<div class="short-name">'+ company.companySimpleName.slice(0,-1) +'</div>'
                    %>
                </div>
                <div class="layui-col-md6">
                    <h3><%= company.companyName %></h3>
                    <span><%= company.companyCategory %></span>
                    <span><%= company.companyProperty %></span>
                    <span><%= company.scale %></span>
                </div>
                <div class="layui-col-md4">
                    <h2><%= total %></h2>
                    <span>在招职位</span>
                </div>
            </div>
        </div>
    </div>
    <section class="content">
        <div class="layui-row">
            <div class="layui-col-md9 left-cnt">
                <div class="search-box">
                    <form class="layui-form">
                        <select name="postCity">
                            <option value="">工作地点</option>
                            <option value="">不限</option>
                        </select>
                        <select name="postLanguage">
                            <option value="">语言要求</option>
                            <option value="">不限</option>
                        </select>
                        <input type="text" name="postName" class="layui-input" placeholder="请输入职位名称">
                        <button class="layui-btn" type="button" lay-submit lay-filter="search_post"></button>
                    </form>
                </div>
                <div class="list searchList">
                    <div class="data-empty"></div>
                </div>
                <div id="pagination"></div>
            </div>
            <div class="layui-col-md3 right-cnt">
                <h3>企业基本信息</h3>
                <div class="txt-ellipsis">信用代码：<%= company.creditCodes %></div>
                <div class="txt-ellipsis">网址：<%= company.officialWebsite || '--' %></div>
                <div>
                    <span>企业地址：</span>
                    <span><%= company.province + company.city + company.area + company.addressDetail %></span>
                </div>
                <div class="line"></div>
                <h3>企业介绍</h3>
                <div><%- company.companyDescription && company.companyDescription.replace(/\n/g, '<br>') || '--' %></div>
            </div>
        </div>
    </section>
</div>
<script type="text/javascript" src="/public/js/modules/post.js"></script>
<script type="text/javascript">
    gb_config_obj.init_company_detail()

</script>